package com.lovo.model;

import com.lovo.util.Column;
import com.lovo.util.Id;
import com.lovo.util.Table;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/11/17
 */
@Data
@NoArgsConstructor
@Table("student_1117")
public class StudentDO implements Serializable {
    @Id
    @Column("s_id")
    private Long id;
    @Column("s_name")
    private String name;
    @Column("s_age")
    private Integer age;

    public StudentDO(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
